import logo from './logo.svg';
import './App.css';
import MyCom from './components/MyCom';
import MyChange from './components/MyChange';
import {Provider} from 'mobx-react';
import store from './store'

function App() {
  return (
    <div className="App">
      <Provider store={store}>{/* Provider提供者 传入store属性，然后每个组件将获得store*/}
        <MyCom></MyCom>
        <MyChange></MyChange>
      </Provider>
    </div>
  );
}

export default App;
